package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.LawyerTime;

/**
 * 律师的可服务时间Mapper接口
 * 
 * @author liwenjing
 * @date 2021-05-20
 */
public interface LawyerTimeMapper 
{
    /**
     * 查询律师的可服务时间
     * 
     * @param id 律师的可服务时间ID
     * @return 律师的可服务时间
     */
    public LawyerTime selectLawyerTimeById(Long id);

    /**
     * 查询律师的可服务时间列表
     * 
     * @param lawyerTime 律师的可服务时间
     * @return 律师的可服务时间集合
     */
    public List<LawyerTime> selectLawyerTimeList(LawyerTime lawyerTime);

    /**
     * 新增律师的可服务时间
     * 
     * @param lawyerTime 律师的可服务时间
     * @return 结果
     */
    public int insertLawyerTime(LawyerTime lawyerTime);

    /**
     * 修改律师的可服务时间
     * 
     * @param lawyerTime 律师的可服务时间
     * @return 结果
     */
    public int updateLawyerTime(LawyerTime lawyerTime);

    /**
     * 删除律师的可服务时间
     * 
     * @param id 律师的可服务时间ID
     * @return 结果
     */
    public int deleteLawyerTimeById(Long id);

    /**
     * 批量删除律师的可服务时间
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLawyerTimeByIds(Long[] ids);

    int updateLawyerTimeByTime(LawyerTime lawyerTime);

    String selectLawyerTimeByCode(LawyerTime lawyerTime);
}
